<%@ Assembly Name="RealDolmen.SharePoint.ListFeatures, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7f5c307c491a8188"%> 
<%@ Assembly Name="RealDolmen.SharePoint.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7f5c307c491a8188"%> 

<%@ Page Language="C#" Inherits="RealDolmen.SharePoint.Controls.FixedLayoutsPageBase" MasterPageFile="~/_layouts/pickerdialog.master"   EnableViewState="false" EnableViewStateMac="false"   %> 

<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="RealDolmen.SharePoint.ListFeatures" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>

<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register TagPrefix="RealDolmen" TagName="ListFeatureAdder" src="~/_controltemplates/ListFeatureAdder.ascx" %>

<script runat="server">
    protected override void OnInit(EventArgs e)
    {
        ((PickerDialogMaster)this.Page.Master).BtnOk.Visible = false;
        base.OnInit(e);
    }
    protected override SPBasePermissions RightsRequired
    {
        get
        {
            return SPBasePermissions.ManageLists;
        }
    }
</script>

<asp:Content ID="Content1" contentplaceholderid="PlaceHolderDialogHeaderPageTitle" runat="server">
    <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:lf, ListFeaturesAddFeatureWindowTitle%>" />
</asp:Content>

<asp:Content ID="Content2" contentplaceholderid="PlaceHolderDialogImage" runat="server">
	<img ID=onetidtpweb1 src="/_layouts/images/search.gif" alt="" height="49" width="49">
</asp:Content>

<asp:Content ID="Content4" contentplaceholderid="PlaceHolderSiteName" runat="server">
	<small><asp:PlaceHolder runat="server" id="PlaceHolderSubTitle"/><SharePoint:ListProperty Property="Title" runat="server"/></small>
</asp:Content>

<asp:Content ID="Content5" contentplaceholderid="PlaceHolderDialogTitleInTitleArea" runat="server">
    <asp:Literal ID="Literal2" runat="server" Text="<%$Resources:lf, ListFeaturesAddFeaturePageTitle%>" />
</asp:Content>

<asp:Content ID="Content6" contentplaceholderid="PlaceHolderHelpLink" runat="server">
	<!--Removed for picker-->
</asp:Content>

<asp:Content ID="Content7" contentplaceholderid="PlaceHolderDialogBodySection" runat="server">
    <script type="text/javascript">
    document.body.onload = function(){document.getElementById("BtnCancel").value = '<asp:Literal runat="server" Text="<%$Resources:wss, spcontnt_close%>" />';}
    </script>
	<table id="WebpartPickerTable" class="ms-webpartpickerpagebackground" cellspacing="0" cellpadding="0" width='100%' height='100%'>
		<tr>
		    <td valign="top" style="height:100%">
		    <div class="ms-descriptiontext" style="padding-left:15px; padding-right:15px; padding-bottom:5px; padding-top:5px;">
            <asp:Literal ID="Literal3" runat="server" Text="<%$Resources:lf, ListFeaturesAddFeaturePageDescription%>" />
   		    </div>
	        <div style="padding-left:15px; padding-right:15px; padding-bottom:15px; height:100%; ">
				    <div style="width:100%; height:250px; border-style:inset; border-width:2px; background:white; overflow:auto">
                            <RealDolmen:ListFeatureAdder runat="server" ID="featadd" />
                            <SharePoint:FormDigest ID="FormDigest1" runat="server" />
  				    </div>
  				</div>
			</td>
		</tr>
	</table>
</asp:Content>